/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author alunoinf
 */
public abstract class Pessoa {
    
    private String name;
    private String email;

    public Pessoa(String name, String email) {
        this.name = name;
        this.email = email;
    }
     
    
//    public String pegaId(){
//        return
//    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    
    public abstract String getId();
}
